package edu.spec.wyn.week07.home;

public class Test {
    public static void main(String[] args) {
        Sichuaner hw=new Sichuaner();//会自动调用父类的构造方法
        hw.area="宜宾人";
        hw.mainFood="抄手";
        hw.skinColor="偏黑";
        hw.language="宜宾口音";
        hw.getLanguage();//子类调用父类，父类调用父类
        // hw.speak();
        Sichuaner cc=new Sichuaner("乐山人","串串","很白","乐山口音");
        cc.speak();//子类调用父类，父类调用父类的父类
    }
}

